﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace nextwaver.utils
{
    public class WaitBox
    {
        private static WaitBoxForm _wait;

        public static void Show(string topic, string detials){
            if (_wait == null)
            {
                _wait = new WaitBoxForm(topic, detials);
                _wait.ShowDialog();
            }
        } // Show

        public static void Close()
        {
            if (_wait != null)
            {
                _wait.Close();
                _wait = null;
            }
        }
    }
}
